/**
 * 选择免费直播程
 * @param selectType 选择类型，单选 radio，多选 checkbox
 * @param subjectIds 专业ID串
 */
function selectOpenCourseWind(selectType,subjectIds,callback){
    var index = parent.layer.open({
        type: 2,
        shadeClose: false,
        shade: [0.3, '#000000'],
        title: '<strong>选择免费直播课程</strong>',
        area: winArea,
        content: baseloaction + "/admin/course/open/selectCourseOpenList?selectType="+selectType+"&subjectIds="+subjectIds,
        btn: ['选择', '取消'],
        yes: function (index, layero) {
            var _iframe = layero.find("iframe:visible");
            var iframeName = _iframe[0].name;
            var openCourse = parent.frames[iframeName].getSelectOpenCourse();
            if(openCourse){
                var currentIframeName = contentMainIframeName();
                parent.frames[currentIframeName][callback](openCourse);
                parent.layer.close(index);
            }
        }
    });
}